package com.shujia.day15.gc;

public class Operator {
    public static void main(String[] args) {
        DogFactory dogFactory = new DogFactory();
        dogFactory.getAnimal("旺财").eat();
        dogFactory.getAnimal("旺财").eat();
        dogFactory.getAnimal("旺财").eat();
    }
}
